package com.xb.loan.usercenter.user.util;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;


/**
 * 
 * 北京掌中彩信息科技有限公司源代码，版权归北京掌中彩信息科技有限公司所有。
 * 
 * 项目名称 : common-task
 * 创建日期 : 2015年9月9日
 * 类  描  述 : 常用属性配置
 * 修改历史 : 
 *     1. [2015年9月9日]创建文件 by zheng.p
 */
@Service("propertyConf")
public class PropertyConf {

    @Value("${userthreshold.maxOrderMoney}")
    private Double maxOrderMoney;

    @Value("${userthreshold.maxChargeNum}")
    private Integer maxChargeNum;

    @Value("${userthreshold.maxChargeMoney}")
    private Double maxChargeMoney;

    @Value("${userthreshold.maxEncashNum}")
    private Integer maxEncashNum;

    @Value("${userthreshold.maxEncashMoney}")
    private Double maxEncashMoney;
    
    @Value("${userthreshold.encashThreshold}")
    private Double encashThreshold;
    
	@Value("#{${login.expiredTime}}")
    private Long expiredTime;
	
	@Value("#{${login.maxLoginFailNum}}")
    private Integer maxLoginFailNum;
	
	@Value("#{${login.maxLoginFailTime}}")
    private Long maxLoginFailTime;
	
	@Value("${login.onlineUserCron}")
	private String onlineUserCron;
	
	@Value("#{${phoneval.invalidTime}}")
	private Long phoneValInvalidTime;
	
	public Double getMaxOrderMoney() {
		return maxOrderMoney;
	}

	public void setMaxOrderMoney(Double maxOrderMoney) {
		this.maxOrderMoney = maxOrderMoney;
	}

	public Integer getMaxChargeNum() {
		return maxChargeNum;
	}

	public void setMaxChargeNum(Integer maxChargeNum) {
		this.maxChargeNum = maxChargeNum;
	}

	public Double getMaxChargeMoney() {
		return maxChargeMoney;
	}

	public void setMaxChargeMoney(Double maxChargeMoney) {
		this.maxChargeMoney = maxChargeMoney;
	}

	public Integer getMaxEncashNum() {
		return maxEncashNum;
	}

	public void setMaxEncashNum(Integer maxEncashNum) {
		this.maxEncashNum = maxEncashNum;
	}

	public Double getMaxEncashMoney() {
		return maxEncashMoney;
	}

	public void setMaxEncashMoney(Double maxEncashMoney) {
		this.maxEncashMoney = maxEncashMoney;
	}

	public Double getEncashThreshold() {
		return encashThreshold;
	}

	public void setEncashThreshold(Double encashThreshold) {
		this.encashThreshold = encashThreshold;
	}

	public Long getExpiredTime() {
		return expiredTime;
	}

	public void setExpiredTime(Long expiredTime) {
		this.expiredTime = expiredTime;
	}

	public Integer getMaxLoginFailNum() {
		return maxLoginFailNum;
	}

	public void setMaxLoginFailNum(Integer maxLoginFailNum) {
		this.maxLoginFailNum = maxLoginFailNum;
	}

	public Long getMaxLoginFailTime() {
		return maxLoginFailTime;
	}

	public void setMaxLoginFailTime(Long maxLoginFailTime) {
		this.maxLoginFailTime = maxLoginFailTime;
	}

	public Long getPhoneValInvalidTime() {
		return phoneValInvalidTime;
	}

	public String getOnlineUserCron() {
		return onlineUserCron;
	}

	public void setOnlineUserCron(String onlineUserCron) {
		this.onlineUserCron = onlineUserCron;
	}

	public void setPhoneValInvalidTime(Long phoneValInvalidTime) {
		this.phoneValInvalidTime = phoneValInvalidTime;
	}

}
